<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="../css/reset.css">
    <style>
        .search {
            width: 400px;
            height: 40px;
            border: 2px solid #f00;
            border-radius: 6px;

            /* 超出隐藏 */
            overflow: hidden;
        }

        .search .text {
            width: 260px;
            height: 40px;
            /* background-color: #ff0; */
            float: left;
            padding: 0 20px;


        }

        .search .btn {
            width: 100px;
            height: 40px;
            background-color: #f00;
            float: right;

            border-left: 2px solid #f00;

            /* cursor 设置鼠标的形状   */
            /* pointer手型  */
            cursor: pointer;
        }

        .a {
            width: 300px;
            height: 300px;
            background-color: #ff0;
            border-radius: 50%;
            overflow: hidden;
        }

        .a img {
            width: 300px;
            height: 300px;
        }
    </style>
</head>

<body>

    <div class="search">
        <input type="text" class="text">
        <input type="submit" class="btn" value="">
    </div>


    <div class="a">
        <img src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/fb9e3201ac236e7d93d98d80cd56f185.jpg?thumb=1&w=920&h=345&f=webp&q=90"
            alt="">
    </div>

</body>

</html>